<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="language" content="en" />

	<!-- blueprint CSS framework -->
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/admin/screen.css" media="screen, projection" />
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/admin/print.css" media="print" />
	<!--[if lt IE 8]>
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/ie.css" media="screen, projection" />
	<![endif]-->

	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/admin/main.css" />
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/admin/form.css" />

	<title><?php echo CHtml::encode($this->pageTitle); ?></title>
</head>

<body>

<div class="container" id="page">
<div class="navbar navbar-fixed-top">
<?php $this->widget('bootstrap.widgets.TbNavbar', array(
    'fixed'=>false,
    'brand'=>'CMS Admin',
    'brandUrl'=>'#',
    'collapse'=>true, // requires bootstrap-responsive.css
    'items'=>array(
        array(
            'class'=>'bootstrap.widgets.TbMenu',
            'items'=>array(
                array('label'=>'Kabupaten Nduga', 'url'=>'', 'items'=>array(
                    array('label'=>'Demografi', 'url'=>Yii::app()->createUrl('/admin/page/admin/cat/1')),
                    array('label'=>'Geografi', 'url'=>Yii::app()->createUrl('/admin/post/admin/cat/2')),
                    array('label'=>'Sejarah', 'url'=>Yii::app()->createUrl('/admin/post/admin/cat/3')),
					array('label'=>'Lambang dan Identitas', 'url'=>Yii::app()->createUrl('/admin/post/admin/cat/4')),
					array('label'=>'Struktur Organisasi', 'url'=>Yii::app()->createUrl('/admin/post/admin/cat/4')),
					array('label'=>'Pariwisata', 'url'=>Yii::app()->createUrl('/admin/post/admin/cat/4')),
					array('label'=>'Pejabat', 'url'=>Yii::app()->createUrl('/admin/post/admin/cat/4')),
					array('label'=>'Dinas dan Instansi', 'url'=>Yii::app()->createUrl('/admin/post/admin/cat/4')),
					array('label'=>'Kecamatan', 'url'=>Yii::app()->createUrl('/admin/post/admin/cat/4')),
					array('label'=>'Kelurahan', 'url'=>Yii::app()->createUrl('/admin/post/admin/cat/4')),
					array('label'=>'Produk Hukum', 'url'=>Yii::app()->createUrl('/admin/post/admin/cat/4')),
                )),
            ),
		),

		array(
            'class'=>'bootstrap.widgets.TbMenu',
            'items'=>array(
                array('label'=>'Berita', 'url'=>Yii::app()->createUrl('/user/logout')),
            ),
        ),
		
		
		array(
            'class'=>'bootstrap.widgets.TbMenu',
            'items'=>array(
                array('label'=>'Media', 'url'=>'#', 'items'=>array(
                    array('label'=>'Galeri Foto', 'url'=>Yii::app()->createUrl('/admin/post/admin/cat/12')),
                    array('label'=>'Video', 'url'=>Yii::app()->createUrl('/admin/post/admin/cat/13')),
                )),
            ),
		),

		array(
            'class'=>'bootstrap.widgets.TbMenu',
            'items'=>array(
                array('label'=>'Kelola', 'url'=>'#', 'items'=>array(
                    array('label'=>'Pengguna', 'url'=>Yii::app()->createUrl('/admin/post/admin/cat/5')),
                    array('label'=>'Social Media', 'url'=>Yii::app()->createUrl('/admin/post/admin/cat/6')),
                    array('label'=>'Ketegori Berita', 'url'=>Yii::app()->createUrl('/admin/post/admin/cat/6')),
                    array('label'=>'Jenis Produk Hukum', 'url'=>Yii::app()->createUrl('/admin/post/admin/cat/7')),
                    array('label'=>'Saran dan Keluhan', 'url'=>Yii::app()->createUrl('/admin/post/admin/cat/6')),
                )),
            ),
		),
		
			
		
		
        array(
            'class'=>'bootstrap.widgets.TbMenu',
            'htmlOptions'=>array('class'=>'pull-right'),
            'items'=>array(
                array('label'=>'Keluar', 'url'=>Yii::app()->createUrl('/user/logout')),
            ),
        ),
    ),
)); ?>
</div>

	<?php echo $content; ?>

	<div class="clear"></div>

	<div id="footer">
		Copyright &copy; <?php echo date('Y'); ?> by My Company.<br/>
		All Rights Reserved.<br/>
		<?php echo Yii::powered(); ?>
	</div><!-- footer -->

</div><!-- page -->

</body>
</html>